package com.liliang.service.impl;

import com.liliang.entity.SysUsers;
import com.liliang.mapper.SysUsersMapper;
import com.liliang.service.ISysUsersService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author liliang
 * @since 2021-11-04
 */
@Service
public class SysUsersServiceImpl extends ServiceImpl<SysUsersMapper, SysUsers> implements ISysUsersService {

    @Autowired
    SysUsersMapper sm;

    @Override
    public SysUsers findbyid(Long id) {
        return sm.selectById(id);
    }
}
